import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router/index.js'


// 整合应用实例配置
const app = createApp(App)
app.use(router) // 注册路由
app.use(ElementPlus) // 注册ElementPlus
app.mount('#app') // 挂载到DOM